<?php

App::uses('AppController', 'Controller');

/**
 * Media Controller
 *
 */
class MediaController extends AppController {

    /**
     * Uses
     * 
     * @var array
     */
    public $uses = array();
    public function beforeFilter() {
        parent::beforeFilter();
        $this->Auth->allow('*');
    }
    public function player($id) {
		if(empty($id)){
			die();
		}
        $this->set(compact($id));
        $this->layout = 'popup';
    }

}
